package kr.hkit.powerjava.chapter11.work;
public class Person {
	private String name;
	private String address;
	private String telNum;

	public Person() {}

	public Person(String name, String address, String telNum) {
		this.name = name;
		this.address = address;
		this.telNum = telNum;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelNum() {
		return telNum;
	}

	public void setTelNum(String telNum) {
		this.telNum = telNum;
	}

	@Override
	public String toString() {
		return "Person [이름 = " + name + ", 주소 = " + address
				+ ", 전화번호 = " + telNum + "]";
	}	
	
}